package com.muyu.danmo.mapper;


import com.muyu.danmo.domain.DanmoInformationCopy1;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 个人信息新Mapper接口
 * 
 * @author yangle
 * @date 2024-12-10
 */
public interface DanmoInformationCopy1Mapper 
{
    /**
     * 查询个人信息新
     * 
     * @param id 个人信息新主键
     * @return 个人信息新
     */
    public DanmoInformationCopy1 selectDanmoInformationCopy1ById(@Param("id") Long id, @Param("tableName") String tableName);

    /**
     * 查询个人信息新列表
     * 
     * @param danmoInformationCopy1 个人信息新
     * @return 个人信息新集合
     */
    public List<DanmoInformationCopy1> selectDanmoInformationCopy1List(DanmoInformationCopy1 danmoInformationCopy1);

    /**
     * 新增个人信息新
     * 
     * @param danmoInformationCopy1 个人信息新
     * @return 结果
     */
    public int insertDanmoInformationCopy1(@Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1, @Param("tableName") String tableName);

    /**
     * 修改个人信息新
     *
     * @param danmoInformationCopy1 个人信息新
     * @param tableName
     * @return 结果
     */
    public int updateDanmoInformationCopy1(@Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1, @Param("tableName") String tableName);

    /**
     * 删除个人信息新
     * 
     * @param id 个人信息新主键
     * @return 结果
     */
    public int deleteDanmoInformationCopy1ById(Long id);

    /**
     * 批量删除个人信息新
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoInformationCopy1ByIds(Long[] ids);

    List<DanmoInformationCopy1> selectDanmoInformationCopy1Lists(@Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1, @Param("tableName") String tableName);

    List<DanmoInformationCopy1> selectAncient(@Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1, @Param("tableName") String tableName);


    int statistics(@Param("tableName") String tableName, @Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1);

    DanmoInformationCopy1 selectUserDanmoInformationCopy1(@Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1, @Param("tableName") String tableName);


    DanmoInformationCopy1 selectUser(@Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1, @Param("tableName") String tableName);

    int addDanmoInformation(@Param("tableName") String tableName, @Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1);

    DanmoInformationCopy1 selectDanmoInformationReq(@Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1, @Param("tableName") String tableName);

    DanmoInformationCopy1 selectDanmoInformation(@Param("danmoInformationCopy1") DanmoInformationCopy1 danmoInformationCopy1);

    DanmoInformationCopy1 selectInforCopy(@Param("informationId") Long informationId, @Param("tableName") String tableName);

    List<DanmoInformationCopy1> selectList(@Param("longs") List<Long> longs);

    List<DanmoInformationCopy1> selectUserIdList(@Param("longs") List<Long> longs);
}
